package com.songshuai.webapi.baseapi.dto.feign.response;

import lombok.Data;
import lombok.ToString;

@ToString
@Data
public class DictionaryDto {
    private Integer id;
    private Integer type;
    private String name;
    private String oldId;
    private Integer sort;

    public DictionaryDto() {

    }

    public DictionaryDto(Integer id, Integer type, String name, String oldId, Integer sort) {
        this.id = id;
        this.type = type;
        this.name = name;
        this.oldId = oldId;
        this.sort = sort;
    }

    public DictionaryDto(Integer id, Integer type, String name) {
        this.id = id;
        this.type = type;
        this.name = name;
    }

}
